package collection.linkedmap;

import java.util.HashMap;
import java.util.LinkedHashMap;

/**
 * @author cyt
 * @create 2020-10-12 8:42
 */
public class LinkedMapDemo {

    public static void main(String[] args) {
        float load = (float) 0.75;
        LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(16, load, true);
        map.put("test", "abstractclass.test value");
        map.put("dev", "dev value");
        map.put("key", "key value");

        System.out.println(map.get("dev"));
        System.out.println("----> ");
        map.keySet().forEach(System.out::println);

        HashMap<Object, Object> hashMap = new HashMap<>();
        hashMap.keySet();
    }
}
